#include "shop.h"
#include <QString>

Shop::Shop()
{
    s_Level=1;
}

Shop::Shop(int time, int floor){
    Needmoney=20+time*(time+1)*10;
    s_Level=(floor/10+1);
    int num1=s_Level*2;
    int num2=s_Level*4;
    int num3=s_Level*200;
    information=QString("I'm God of Greed.<br> You can give me %1 coins to get %2 atk or %3 def or %4 hp.<br>"
                        "You can try not give me money and clear the first 10F.")
            .arg(Needmoney,0,10)
            .arg(num1,0,10)
            .arg(num2,0,10)
            .arg(num3,0,10);
    
    
}
